POST.RUN Function

Syntax

Code_Text as C = post.run(C layoutname [,C master_table_filter [,C transaction_table_filter [,L silent [,L show_Xbasic [,* arguments ]]]]])

Arguments

Code_Text

The Xbasic code that was run performing the operation.

layoutname

The name of a previously created post operation.

master_table_filter

Optional. Default = ".T." (All records). A character filter expression that evaluates to a logical value and selects records from the master table.

transaction_table_filter

Optional. Default = ".T." (All records). A character filter expression that evaluates to a logical value and selects records from the transaction table.

silent

Optional. Default = .F. .T. = No user interaction. .F. = User interaction.

show_Xbasic

Optional. Default = .F.

arguments

*

Description

Runs a Post operation

Discussion

The POST.RUN() method runs a previously defined post operation. Note : If you specify an optional filter argument, the filter is applied in addition to any filter that may have been defined as Part of the Operation. (You can check to see if a filter is defined as Part of an Operation by editing the saved operation, and selecting the "Select records" menu item.) If the Silent flag is set to .T., then Alpha Anywhere does not display any confirmation dialog boxes before running the operation.

Example

The following example runs the saved Customer Post operation.

post.run("Customer Post", "Lastname > 'A'", "Invoice_Number > 10", .t., .f.)

Limitations

Desktop applications only.

See Also